package com.jumi.microservice.domain;

import com.jumi.microservice.common.base.AbstractObject;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 组合商品和物料的sku对应关系
 *
 * @author Administrator
 */
public class CommodityMaterialSkuRelationshipVO extends AbstractObject implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "商品skuID")
    private Long skuId;

    @ApiModelProperty(value = "商品spuID")
    private Long spuId;

    @ApiModelProperty(value = "物料的商品skuid")
    private Long materialSkuId;

    @ApiModelProperty(value = "物料的商品sku编码")
    private String materialSkuCode;

    @ApiModelProperty(value = "物料的商品spuid")
    private Long materialSpuId;

    @ApiModelProperty(value = "物料的商品spu编码")
    private String materialSpuCode;

    @ApiModelProperty(value = "物料的商品名称")
    private String materialSpuName;

    @ApiModelProperty(value = "商品重量(KG)")
    private BigDecimal weight;

    @ApiModelProperty(value = "保质期(天)")
    private Integer qualityTime;

    @ApiModelProperty(value = "商品类型为组合商品时,组合内该品数量")
    private Integer composeNumber;

    @ApiModelProperty(value = "添加时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "供应商ID")
    private Long supplyId;

    @ApiModelProperty(value = "供应商名称")
    private String supplier;

    @ApiModelProperty("旺店通商品ID")
    private Long wdtGoodsId;

    @ApiModelProperty("属性名称")
    private String specName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public Long getMaterialSkuId() {
        return materialSkuId;
    }

    public void setMaterialSkuId(Long materialSkuId) {
        this.materialSkuId = materialSkuId;
    }

    public String getMaterialSkuCode() {
        return materialSkuCode;
    }

    public void setMaterialSkuCode(String materialSkuCode) {
        this.materialSkuCode = materialSkuCode;
    }

    public Long getMaterialSpuId() {
        return materialSpuId;
    }

    public void setMaterialSpuId(Long materialSpuId) {
        this.materialSpuId = materialSpuId;
    }

    public String getMaterialSpuCode() {
        return materialSpuCode;
    }

    public void setMaterialSpuCode(String materialSpuCode) {
        this.materialSpuCode = materialSpuCode;
    }

    public String getMaterialSpuName() {
        return materialSpuName;
    }

    public void setMaterialSpuName(String materialSpuName) {
        this.materialSpuName = materialSpuName;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public Integer getQualityTime() {
        return qualityTime;
    }

    public void setQualityTime(Integer qualityTime) {
        this.qualityTime = qualityTime;
    }

    public Integer getComposeNumber() {
        return composeNumber;
    }

    public void setComposeNumber(Integer composeNumber) {
        this.composeNumber = composeNumber;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Long getSupplyId() {
        return supplyId;
    }

    public void setSupplyId(Long supplyId) {
        this.supplyId = supplyId;
    }

    public String getSupplier() {
        return supplier;
    }

    public void setSupplier(String supplier) {
        this.supplier = supplier;
    }

    public Long getWdtGoodsId() {
        return wdtGoodsId;
    }

    public void setWdtGoodsId(Long wdtGoodsId) {
        this.wdtGoodsId = wdtGoodsId;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public Long getSpuId() {
        return spuId;
    }

    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }
}
